<?

function V_Home($arrayData, $array_event, $array_pics, $array_customers,$arrayData_Gallery_slide) { ?>
    <div id="wrapper">
	<?php
	include_once 'include/slider.php';
	V_Slider($arrayData_Gallery_slide);
	?>
    </div>
    <div>&nbsp;</div>
    <div id="container">
        <h3>Sự Kiện / Tin Tức</h3>
        <div>
	    <?
	    include_once DIR_VIEW . 'v_event_home.php';
	    V_Event_Home($array_event);
	    ?>
        </div>
        <h3>Ảnh Đẹp</h3>
        <div style="text-align: center"> 	    
	    <?
//	    include 'flashgallery/flashgallery.html';
	    ?>
	    <?php
	    include_once DIR_VIEW . 'v_gallery_home.php';
	    V_Slider_1($array_pics);
	    ?>
        </div>
        <h3>Khách Hàng</h3>	
        <div> 
	    <?
	    include_once DIR_VIEW . 'v_customer_home.php';
	    V_Customer_Home($array_customers);
	    ?>
        </div>
	<div style="margin-top: 50px;float: right;background-color: #2887E3;padding: 5px">
	    <a style="color: #FFFFFF;line-height: 32px" href="#">
		Chia sẻ cảm nhận >>
	    </a>
	</div>
    </div> 
    <?
}
?>
<script>
    function redirect(id) {
	window.location.href = "<?= "?modul=event&action=Detail&id=" ?>" + id;
    }
</script>